package com.project.pojo.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.xmlbeans.impl.jam.mutable.MElement;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * @Description: 商品订单发货入参类
 * @Author: zhuchi
 * @CreateDate: 2020/11/6 14:12
 * @Version: 1.0
 */
@Data
@ApiModel(value = "商品订单发货入参类")
public class ProductOrderIssueModel {

    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID")
    @NotNull(message = "请选择要发货的订单")
    private Long productOrderId;

    /**
     * 发货物流单号
     */
    @ApiModelProperty(value = "发货物流单号")
    @NotBlank(message = "请输入物流单号")
    private String logisticsNumber;

    /**
     * 物流公司名称
     */
    @ApiModelProperty(value = "物流公司名称")
    @NotBlank(message = "请选择物流公司")
    private String logisticsCompany;

    /**
     * 物流公司代码
     */
    @ApiModelProperty(value = "物流公司代码")
    private String logisticsCompanyCode;

    /**
     * 物流公司图标
     */
    @ApiModelProperty(value = "物流公司图标")
    private String logisticsCompanyImg;

}
